package com.pengy.shengxian.entity;

import java.util.Date;

/**
 * 采购单主表实体类
 */
public class CgdInfo {
    
    private Long id;                          // 采购单记录号
    private String cgdDept;                   // 采购单所属单位
    private String cgdCode;                   // 客户采购单号
    private String cgdHjkCode;                // 合家康销售单号
    private String cgdInfoCusCode;            // 客户编码
    private Date cgdInfoDisDate;              // 配送日期
    private Date cgdInfoDate;                 // 开单日期
    private String cgdInfoPerson;             // 开单人
    private String cgdInfoScanDocname;        // 采购需求单文件名称
    private String cgdInfoScanPath;           // 采购需求单文件路径
    private String cgdInfoSupplier;           // 供应商
    private Integer cgdInfoStatus;            // 状态
    private String cgdInfoReserve1;           // 预留字段1
    private String cgdInfoReserve2;           // 预留字段2
    private String cgdInfoReserve3;           // 预留字段3
    private Date cgdInfoWriDate;              // 信息写入时间
    private Long cgdInfoSyncId;               // 信息同步记录id
    private Integer cgdInfoSyncStatus;        // 同步状态
    private String cgdInfoSyncMsg;            // 同步信息
    private Date cgdInfoSyncDate;             // 最近同步时间
    private String cgdInfoRemark;             // 备注
    private Long syncInfoId;                  // 同步批次id
    private String cgdInfoTitle;              // 标题
    
    // 构造函数
    public CgdInfo() {
        this.cgdInfoWriDate = new Date();
        this.cgdInfoStatus = 0;
        this.cgdInfoSyncStatus = 0;
    }
    
    // Getters and Setters
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getCgdDept() {
        return cgdDept;
    }
    
    public void setCgdDept(String cgdDept) {
        this.cgdDept = cgdDept;
    }
    
    public String getCgdCode() {
        return cgdCode;
    }
    
    public void setCgdCode(String cgdCode) {
        this.cgdCode = cgdCode;
    }
    
    public String getCgdHjkCode() {
        return cgdHjkCode;
    }
    
    public void setCgdHjkCode(String cgdHjkCode) {
        this.cgdHjkCode = cgdHjkCode;
    }
    
    public String getCgdInfoCusCode() {
        return cgdInfoCusCode;
    }
    
    public void setCgdInfoCusCode(String cgdInfoCusCode) {
        this.cgdInfoCusCode = cgdInfoCusCode;
    }
    
    public Date getCgdInfoDisDate() {
        return cgdInfoDisDate;
    }
    
    public void setCgdInfoDisDate(Date cgdInfoDisDate) {
        this.cgdInfoDisDate = cgdInfoDisDate;
    }
    
    public Date getCgdInfoDate() {
        return cgdInfoDate;
    }
    
    public void setCgdInfoDate(Date cgdInfoDate) {
        this.cgdInfoDate = cgdInfoDate;
    }
    
    public String getCgdInfoPerson() {
        return cgdInfoPerson;
    }
    
    public void setCgdInfoPerson(String cgdInfoPerson) {
        this.cgdInfoPerson = cgdInfoPerson;
    }
    
    public String getCgdInfoScanDocname() {
        return cgdInfoScanDocname;
    }
    
    public void setCgdInfoScanDocname(String cgdInfoScanDocname) {
        this.cgdInfoScanDocname = cgdInfoScanDocname;
    }
    
    public String getCgdInfoScanPath() {
        return cgdInfoScanPath;
    }
    
    public void setCgdInfoScanPath(String cgdInfoScanPath) {
        this.cgdInfoScanPath = cgdInfoScanPath;
    }
    
    public String getCgdInfoSupplier() {
        return cgdInfoSupplier;
    }
    
    public void setCgdInfoSupplier(String cgdInfoSupplier) {
        this.cgdInfoSupplier = cgdInfoSupplier;
    }
    
    public Integer getCgdInfoStatus() {
        return cgdInfoStatus;
    }
    
    public void setCgdInfoStatus(Integer cgdInfoStatus) {
        this.cgdInfoStatus = cgdInfoStatus;
    }
    
    public String getCgdInfoReserve1() {
        return cgdInfoReserve1;
    }
    
    public void setCgdInfoReserve1(String cgdInfoReserve1) {
        this.cgdInfoReserve1 = cgdInfoReserve1;
    }
    
    public String getCgdInfoReserve2() {
        return cgdInfoReserve2;
    }
    
    public void setCgdInfoReserve2(String cgdInfoReserve2) {
        this.cgdInfoReserve2 = cgdInfoReserve2;
    }
    
    public String getCgdInfoReserve3() {
        return cgdInfoReserve3;
    }
    
    public void setCgdInfoReserve3(String cgdInfoReserve3) {
        this.cgdInfoReserve3 = cgdInfoReserve3;
    }
    
    public Date getCgdInfoWriDate() {
        return cgdInfoWriDate;
    }
    
    public void setCgdInfoWriDate(Date cgdInfoWriDate) {
        this.cgdInfoWriDate = cgdInfoWriDate;
    }
    
    public Long getCgdInfoSyncId() {
        return cgdInfoSyncId;
    }
    
    public void setCgdInfoSyncId(Long cgdInfoSyncId) {
        this.cgdInfoSyncId = cgdInfoSyncId;
    }
    
    public Integer getCgdInfoSyncStatus() {
        return cgdInfoSyncStatus;
    }
    
    public void setCgdInfoSyncStatus(Integer cgdInfoSyncStatus) {
        this.cgdInfoSyncStatus = cgdInfoSyncStatus;
    }
    
    public String getCgdInfoSyncMsg() {
        return cgdInfoSyncMsg;
    }
    
    public void setCgdInfoSyncMsg(String cgdInfoSyncMsg) {
        this.cgdInfoSyncMsg = cgdInfoSyncMsg;
    }
    
    public Date getCgdInfoSyncDate() {
        return cgdInfoSyncDate;
    }
    
    public void setCgdInfoSyncDate(Date cgdInfoSyncDate) {
        this.cgdInfoSyncDate = cgdInfoSyncDate;
    }
    
    public String getCgdInfoRemark() {
        return cgdInfoRemark;
    }
    
    public void setCgdInfoRemark(String cgdInfoRemark) {
        this.cgdInfoRemark = cgdInfoRemark;
    }
    
    public Long getSyncInfoId() {
        return syncInfoId;
    }
    
    public void setSyncInfoId(Long syncInfoId) {
        this.syncInfoId = syncInfoId;
    }
    
    public String getCgdInfoTitle() {
        return cgdInfoTitle;
    }
    
    public void setCgdInfoTitle(String cgdInfoTitle) {
        this.cgdInfoTitle = cgdInfoTitle;
    }
    
    @Override
    public String toString() {
        return "CgdInfo{" +
                "id=" + id +
                ", cgdDept='" + cgdDept + '\'' +
                ", cgdCode='" + cgdCode + '\'' +
                ", cgdHjkCode='" + cgdHjkCode + '\'' +
                ", cgdInfoCusCode='" + cgdInfoCusCode + '\'' +
                ", cgdInfoDisDate=" + cgdInfoDisDate +
                ", cgdInfoDate=" + cgdInfoDate +
                ", cgdInfoPerson='" + cgdInfoPerson + '\'' +
                ", cgdInfoScanDocname='" + cgdInfoScanDocname + '\'' +
                ", cgdInfoScanPath='" + cgdInfoScanPath + '\'' +
                ", cgdInfoSupplier='" + cgdInfoSupplier + '\'' +
                ", cgdInfoStatus=" + cgdInfoStatus +
                ", cgdInfoReserve1='" + cgdInfoReserve1 + '\'' +
                ", cgdInfoReserve2='" + cgdInfoReserve2 + '\'' +
                ", cgdInfoReserve3='" + cgdInfoReserve3 + '\'' +
                ", cgdInfoWriDate=" + cgdInfoWriDate +
                ", cgdInfoSyncId=" + cgdInfoSyncId +
                ", cgdInfoSyncStatus=" + cgdInfoSyncStatus +
                ", cgdInfoSyncMsg='" + cgdInfoSyncMsg + '\'' +
                ", cgdInfoSyncDate=" + cgdInfoSyncDate +
                ", cgdInfoRemark='" + cgdInfoRemark + '\'' +
                ", syncInfoId=" + syncInfoId +
                ", cgdInfoTitle='" + cgdInfoTitle + '\'' +
                '}';
    }
} 